// 封装ls存取token

const key ='pc-key';
// 存储token
const setToken = (token) => {
  return window.localStorage.setItem(key, token)
}
// 读取token
const getToken = () => {
  return window.localStorage.getItem(key)
}
// 移除token 
const removeToken = () => {
  return window.localStorage.removeItem(key)
}

export {
 setToken,
 getToken,
 removeToken

}
